# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corerenamer
pkgver=3.0.1
pkgrel=0
pkgdesc="A batch file renamer from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corerenamer/-/archive/v$pkgver/corerenamer-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="d72143a01c226f5cac37f8caa1f13e6f60937ad9b59f5f3cb345a3e8cf0dbaa42a8cadaf5b8c53e7b9ff09e58cb48fad8efe3ab2f88d43a27b44b55bafb3e73e  corerenamer-3.0.1.tar.gz"
